package com.ykq.system.service;

import com.ykq.system.entity.Permission;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ykq.system.vo.CommonResult;

/**
 * <p>
 * 权限 服务类
 * </p>
 *
 * @author 闫克起
 * @since 2022-08-08
 */
public interface IPermissionService extends IService<Permission> {

    CommonResult findPermissionByUserId(String token);

    CommonResult findPermessionByRoleId(String roleId);
}
